package com.hyg.module_report.model;

import android.os.Parcel;
import android.os.Parcelable;

import com.hyg.lib_base.mainUtils.Utils;

import java.util.ArrayList;


public class ReportIDToHealthCareID implements Parcelable {
    /*   首页方便查看 针对性养生建议 数据模板   */

    private String reportId = "";
    private ArrayList<String> xiezi = new ArrayList<>();
    private ArrayList<String> yundong = new ArrayList<>();
    private ArrayList<String> yingji = new ArrayList<>();
    private ArrayList<String> shanshi = new ArrayList<>();
    private ArrayList<String> yaoyu = new ArrayList<>();
    private ArrayList<String> chayin = new ArrayList<>();
    private ArrayList<String> aijiu = new ArrayList<>();

    public ReportIDToHealthCareID(){}

    public ReportIDToHealthCareID(String reportId, ArrayList<String> xiezi, ArrayList<String> yundong, ArrayList<String> yingji,
                                  ArrayList<String> shanshi, ArrayList<String> yaoyu, ArrayList<String> chayin, ArrayList<String> aijiu){
        this.reportId = reportId;
        this.xiezi = xiezi ;
        this.yundong = yundong;
        this.yingji = yingji;
        this.shanshi = shanshi;
        this.yaoyu = yaoyu;
        this.chayin = chayin;
        this.aijiu = aijiu;
    }

    protected ReportIDToHealthCareID(Parcel in) {
        reportId = in.readString();
        xiezi = in.createStringArrayList();
        yundong = in.createStringArrayList();
        yingji = in.createStringArrayList();
        shanshi = in.createStringArrayList();
        yaoyu = in.createStringArrayList();
        chayin = in.createStringArrayList();
        aijiu = in.createStringArrayList();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(reportId);
        dest.writeStringList(xiezi);
        dest.writeStringList(yundong);
        dest.writeStringList(yingji);
        dest.writeStringList(shanshi);
        dest.writeStringList(yaoyu);
        dest.writeStringList(chayin);
        dest.writeStringList(aijiu);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<ReportIDToHealthCareID> CREATOR = new Creator<ReportIDToHealthCareID>() {
        @Override
        public ReportIDToHealthCareID createFromParcel(Parcel in) {
            return new ReportIDToHealthCareID(in);
        }

        @Override
        public ReportIDToHealthCareID[] newArray(int size) {
            return new ReportIDToHealthCareID[size];
        }
    };

    public String getReportId() {
        return reportId;
    }

    public void setReportId(String reportId) {
        if(!Utils.isEmpty(reportId))this.reportId = reportId;
    }

    public ArrayList<String> getXiezi() {
        return xiezi;
    }

    public void setXiezi(ArrayList<String> xiezi) {
        if(!Utils.isEmpty(xiezi))this.xiezi = xiezi;
    }

    public ArrayList<String> getYundong() {
        return yundong;
    }

    public void setYundong(ArrayList<String> yundong) {
        if(!Utils.isEmpty(yundong))this.yundong = yundong;
    }

    public ArrayList<String> getYingji() {
        return yingji;
    }

    public void setYingji(ArrayList<String> yingji) {
        if(!Utils.isEmpty(yingji))this.yingji = yingji;
    }

    public ArrayList<String> getShanshi() {
        return shanshi;
    }

    public void setShanshi(ArrayList<String> shanshi) {
        if(!Utils.isEmpty(shanshi))this.shanshi = shanshi;
    }

    public ArrayList<String> getYaoyu() {
        return yaoyu;
    }

    public void setYaoyu(ArrayList<String> yaoyu) {
        if(!Utils.isEmpty(yaoyu))this.yaoyu = yaoyu;
    }

    public ArrayList<String> getChayin() {
        return chayin;
    }

    public void setChayin(ArrayList<String> chayin) {
        if(!Utils.isEmpty(chayin))this.chayin = chayin;
    }

    public ArrayList<String> getAijiu() {
        return aijiu;
    }

    public void setAijiu(ArrayList<String> aijiu) {
        if(!Utils.isEmpty(aijiu))this.aijiu = aijiu;
    }
}
